package cn.zt.ztzx.service;

import cn.zt.ztzx.domain.SysUser;
import cn.zt.ztzx.model.dto.system.LoginDto;
import cn.zt.ztzx.model.dto.system.SysUserDto;
import cn.zt.ztzx.model.vo.common.Result;
import cn.zt.ztzx.model.vo.system.LoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 86182
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2024-09-19 11:21:05
*/
public interface SysUserService extends IService<SysUser> {

    Result listUser(SysUserDto sysRoleDto);

    SysUser getuserinfo(String token);

    Result<LoginVo> login(LoginDto loginDto);

    Result deleteUser(Long id);

    Result addUser(SysUser sysUser);

    Result updateUser(SysUser sysUser);
}
